package java8.optional.demo03;


import java.util.Optional;

/**
 * @author ChangLiang
 * @date 2020/4/21
 */
public class Person {

    private Car car;

    public Optional<Car> getCar() {
        return Optional.ofNullable(car);
    }
}
